package com.phiture.erp.sale.api.service;

import com.phiture.erp.sale.api.pojo.req.ErpSaleOutReq;
import com.phiture.erp.sale.api.pojo.resp.ErpSaleOutItemsResp;
import com.phiture.erp.sale.api.pojo.resp.ErpSaleOutResp;
import javafx.util.Pair;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface ErpSaleOutApi {
    List<ErpSaleOutResp> getErpSaleOutList(ErpSaleOutReq  req);
    List<ErpSaleOutItemsResp> getErpSaleOutItemList(Map<Long, Pair<String, Long>> saleOutMap);
    void backfillSaleOutAccountCheckFlag(Collection<Long> saleOutIds, Boolean accountCheckFlag);
    void updateSaleOutAccountCheckFlag(Collection<String> saleOutNos, Boolean accountCheckFlag);

}
